package com.boardgame.gwt.service.operate.action.buy;

import com.boardgame.common.entity.ResponseInfo;
import com.boardgame.gwt.data.GwtGameBoard;
import com.boardgame.gwt.data.GwtPlayerInfo;
import com.boardgame.gwt.service.operate.SyntaxRequest;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

import static com.boardgame.gwt.finalinfo.SyntaxMatchFinal.BUY_WORKER_2_ACTION;

/**
 * 买人行动
 * 少花2元
 */
public class BuyWorker2Action extends BuyWorkerBaseAction {
    @Override
    public Pattern getPattern() {
        return Pattern.compile(BUY_WORKER_2_ACTION);
    }


    @Override
    protected int getWorkerExtralCost() {
        return 0;
    }
    public static BuyWorker2Action create(){
        return new BuyWorker2Action();
    }
}
